package com.tbm;

import com.tbm.common.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Repository;

import javax.persistence.Entity;
import javax.persistence.EntityManagerFactory;

@SpringBootApplication
public class TbmBootFrameApplication {

	@Bean
	public SpringUtil getSpringUtil2() {
		return new SpringUtil();
	}

	public static void main(String[] args) {
		 SpringApplication.run(TbmBootFrameApplication.class, args);
	}
}
